onSync
Called by the onSyncClient
event when the client side of a config is synced. NOTE: Only called if a restart prompt is not created (so if the game state will continue into game).
Author
fzzyhmstrs
Since
0.5.0
Parameters
id
Identifier the registered id attached to the config instance.
config
Config the config instance. This should only be read, or changes only made to transient fields/methods. Making updates to settings here will NOT be captured by the syncronization system.